package com.bsdsma.visonManagementSystemapp.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class BaogaoDto {
    private Long id;
    private Long xuehao;
    private String studentName;  // Added for convenience
    private String xuexiao;      // Added for convenience
    private Double leftEye;
    private Double rightEye;
    private String conclusion;
    private String recommend;
    private Integer year;
    private String alert;
    
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ct;
    
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ut;
} 